package com.console.pages.planmgr;

import com.common.test.DefaultElement;
import com.common.test.FindElement;
import com.common.test.PageBase;
import com.common.test.UITestBase;

public class FinancePlanDepositPage extends PageBase {

	public FinancePlanDepositPage(UITestBase tb){
		super(tb);
	}
	
	@FindElement(findName = "xpath", findValue="//div[text()='理财计划代投']", desc="标题")
	public DefaultElement panelheaddiv;
	@FindElement(findName = "xpath", findValue="", desc="投资链接")
	public DefaultElement depositLink;
	@FindElement(findName = "xpath", findValue="(//ul[@class='pagination']/li)[last()]/a", desc="理财计划分页最后一页链接")
	public DefaultElement financeplanlastPageNumLnk;
	@FindElement(findName = "xpath", findValue="", desc="前台发布链接")
	public DefaultElement frontreleaseLnk;
	@FindElement(findName = "xpath", findValue="//ul[@class='pagination']", desc="总页数")
	public DefaultElement pagination;
	@FindElement(findName = "xpath", findValue="//ul[@class='pagination']/li[last()]/a", desc="分页最后一页链接")
	public DefaultElement lastpageLink;
	@FindElement(findName = "xpath", findValue="(//tr[@class='ng-scope'])[last()]/td[2]", desc="理财计划代投页面该页最后一条数据金额栏")
	public DefaultElement thispagelastdatalimittd;
	@FindElement(findName = "xpath", findValue="(//tr[@class='ng-scope'])[last()]/td[3]", desc="理财计划代投页面该页最后一条数据剩余可投金额栏")
	public DefaultElement thispagelastdatasurplustd;
	@FindElement(findName = "xpath", findValue="(//tr[@class='ng-scope'])[last()]/td[6]", desc="周期栏")
	public DefaultElement periodtd;
	@FindElement(findName = "xpath", findValue="(//tr[@class='ng-scope'])[last()]/td[last()]/a[1]", desc="理财计划代投页面该页最后一条数据对应的投资链接")
	public DefaultElement thispagelastdatainvestLink;
	@FindElement(findName = "xpath", findValue="", desc="页码")
	public DefaultElement pageLink;
	@FindElement(findName = "xpath", findValue="//input[@ng-model='account.cellphone']", desc="手机号码输入框")
	public DefaultElement cellphoneinput;
	@FindElement(findName = "xpath", findValue="//button[contains(text(), '查询')]", desc="查询按钮")
	public DefaultElement searchButton;
	@FindElement(findName = "xpath", findValue="//input[@ng-model='account.amount']", desc="金额输入")
	public DefaultElement amountinput;
	@FindElement(findName = "xpath", findValue="//button[text()='确定投资']", desc="确定投资按钮")
	public DefaultElement assuredepositButton;
	@FindElement(findName = "xpath", findValue="//button[text()='取消']", desc="取消按钮")
	public DefaultElement cancelButton;
}
